from django.contrib import admin

# Register your models here.

from .models import Funkspruch

class FunkspruchAdmin(admin.ModelAdmin):
    fields = ['message', 'fromOp','toOp'] # fields to show at the edit screen
    list_display = ('message', 'date', 'fromOp','toOp') # fields to show at list overview
    list_filter = ['date'] # filter to list
    search_fields = ['message', 'fromOp', 'toOp']

admin.site.register(Funkspruch,FunkspruchAdmin)
